# $Id$
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=glib-networking
pkgver=2.28.6.1
pkgrel=2
pkgdesc="Network-related giomodules for glib"
arch=('ppc')
url="http://www.gtk.org/"
license=('GPL2')
depends=('glib2' 'libproxy' 'gnutls' 'ca-certificates')
makedepends=('intltool' 'pkg-config')
install=glib-networking.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*.*}/$pkgname-${pkgver}.tar.bz2)
md5sums=('d7d99c1f993398f06818a88ada04bcce')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure \
	--prefix=/usr  --sysconfdir=/etc \
	--libexecdir=/usr/lib/glib-networking --disable-static \
	--without-gnome-proxy \
	--with-gnutls \
	--with-ca-certificates
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="${pkgdir}" install
}
